package com.foreknow.demo12;

public interface Manager {
    /**
     * 添加员工
     * @param employee
     */
    public void addEmployee(Employee employee);

    /**
     * 根据id查询员工信息
     * @param eid
     * @return
     */
    public Employee getQueryById(int eid);

    /**
     * 查询所有员工
     * @return
     */
    public Employee[] getQueryAll();

    /**
     * 修改员工信息
     * @param employee
     * @return
     */
    public Employee updateEmployee(Employee employee);
}
